import request from '@/utils/request.js'

// 面试邀请
export function InterviewInvitation(data) {
	return request({
		url: '/apply/create',
		method: 'POST',
		data
	})
}

// 获取列表
export function getApplyList(id) {
	return request({
		url: '/apply/list/' + id,
		method: 'GET'
	})
}

// 获取面试邀请详细
export function getApplyDetail(id) {
	return request({
		url: '/apply/detail/' + id,
		method: 'GET'
	})
}

// 更新面试邀请状态
export function updateApplyStatus(data) {
	return request({
		url: '/apply/update/status',
		method: 'PUT',
		data
	})
}